package com.tele.domain;


import com.baomidou.mybatisplus.annotation.*;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

@Data
@TableName("login_user")
public class User {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    //@ApiModelProperty(value = "会员头像")
    @TableField("photo_url")
    private String photoUrl;

    //@ApiModelProperty(value = "昵称")
    @TableField("nick_name")
    private String nickName;

    //@ApiModelProperty(value = "小程序open id")
    @TableField("open_id")
    private String openId;

    //@ApiModelProperty(value = "逻辑删除(1:已删除，0:未删除)")
    @JsonIgnore
    @TableLogic(value = "0",delval = "1")
    @TableField("is_deleted")
    private Integer isDeleted;

    private Boolean isAdmin;

}
